package com.alinesno.cloud.initializr.starter.cicd.deploy.k8s;

import org.springframework.beans.factory.annotation.Autowired;

import io.fabric8.kubernetes.client.KubernetesClient;

/**
 * 基础服务对象 
 * 
 * @author WeiXiaoJin
 * @date 2021年6月25日 下午9:20:30
 */
public class BaseApi {

	@Autowired
	protected K8sApiClient apiClient ; 
	
	/**
	 * k8s客户端对象 
	 * @return
	 */
	protected KubernetesClient client() {
		return apiClient.instance() ; 
	}

}
